package com.jieshuibao.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jieshuibao.mapper.UserCompanyMapper;
import com.jieshuibao.model.db.User;
import com.jieshuibao.model.db.UserExample;

@Service
public class UserCompanyService {
	@Resource
	private UserCompanyMapper userCompanyMapper;
	
	public List<User> getUserCompany(UserExample example){
		return userCompanyMapper.selectCompanyUserByExample(example);
	}

}
